package com.softWang.job.test.task.Service;

import com.softWang.job.test.task.domain.vo.User;
import org.springframework.stereotype.Component;

@Component
public class TaskDemo1Service {

    public void test1(){
        System.out.println("无参测试");
    }

    public void test2(String params){
        System.out.println("简单参数测试："+params);
    }

    public void test3(User user){
        System.out.println("复杂参数测试，转成对象user：" +user.getName()+":"+user.getSex());
    }
}
